.class public Lcom/esfile/screen/recorder/utils/q;
.super Ljava/lang/Object;
.source "SoftKeyboardMonitor.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/utils/q$b;
    }
.end annotation


# instance fields
.field private a:Landroid/view/View;

.field private b:I

.field private c:I

.field private d:I

.field private e:Lcom/esfile/screen/recorder/utils/q$b;

.field private f:Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;


# direct methods
.method public constructor <init>(Landroid/view/View;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lcom/esfile/screen/recorder/utils/q;->d:I

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/utils/q$a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/utils/q$a;-><init>(Lcom/esfile/screen/recorder/utils/q;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/utils/q;->f:Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;

    .line 4
    iput-object p1, p0, Lcom/esfile/screen/recorder/utils/q;->a:Landroid/view/View;

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/utils/q;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/utils/q;->c:I

    return p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/utils/q;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/utils/q;->a:Landroid/view/View;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/utils/q;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/utils/q;->d:I

    return p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/utils/q;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/esfile/screen/recorder/utils/q;->b:I

    return p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/utils/q;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/utils/q;->c:I

    return p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/utils/q;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/utils/q;->b:I

    return p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/utils/q;)Lcom/esfile/screen/recorder/utils/q$b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/utils/q;->e:Lcom/esfile/screen/recorder/utils/q$b;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 1

    const/4 v0, 0x0

    .line 3
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/utils/q;->a(I)V

    return-void
.end method

.method public a(I)V
    .locals 1

    .line 4
    iput p1, p0, Lcom/esfile/screen/recorder/utils/q;->d:I

    .line 5
    iget-object p1, p0, Lcom/esfile/screen/recorder/utils/q;->a:Landroid/view/View;

    invoke-virtual {p1}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object p1

    iget-object v0, p0, Lcom/esfile/screen/recorder/utils/q;->f:Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;

    invoke-virtual {p1, v0}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/utils/q;->a:Landroid/view/View;

    invoke-virtual {p1}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object p1

    iget p1, p1, Landroid/content/res/Configuration;->orientation:I

    iput p1, p0, Lcom/esfile/screen/recorder/utils/q;->c:I

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/utils/q$b;)V
    .locals 0

    .line 7
    iput-object p1, p0, Lcom/esfile/screen/recorder/utils/q;->e:Lcom/esfile/screen/recorder/utils/q$b;

    return-void
.end method

.method public b()V
    .locals 2

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/utils/q;->a:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/utils/q;->f:Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;

    invoke-virtual {v0, v1}, Landroid/view/ViewTreeObserver;->removeOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    return-void
.end method
